package com.kexilo.system.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;

import java.io.Serializable;

/**
 * 刷新令牌请求
 *
 * @author Kexilo
 */
@Schema(description = "刷新令牌请求")
public class RefreshTokenRequest implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /** 刷新令牌 */
    @Schema(description = "刷新令牌")
    @NotBlank(message = "刷新令牌不能为空")
    private String refreshToken;

    /** 设备ID */
    @Schema(description = "设备ID")
    private String deviceId;

    public RefreshTokenRequest() {
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
}
